package com.and9.mchen.mcmusic.dao.factory;

import com.and9.mchen.mcmusic.dao.IImageUrlDao;
import com.and9.mchen.mcmusic.util.EntityHelper;

public class ImageUrlDaoFactory {

	private IImageUrlDao imageUrlDao = null;
	private static ImageUrlDaoFactory instance = new ImageUrlDaoFactory();
	
	private  ImageUrlDaoFactory(){
		imageUrlDao=(IImageUrlDao) EntityHelper.createDaoByProperty("IImageUrlDaoClass");
	}
	public static ImageUrlDaoFactory getInstance(){
		return instance;
	}
	public IImageUrlDao getImageUrlDao(){
		return imageUrlDao;
	}
	
}
